#include<stdio.h>

int main( void )
{
	int n, sign;
	scanf("%d",&n);
	if(n>0)
		sign=1;
	else if(n==0)
		sign=0;
	else
		sign=-1;
	printf("%d\n",sign);
	return 0;
}
